<?php

namespace App\Transformers\MemberCard;

use App\Models\MemberCardModel;
use League\Fractal\TransformerAbstract;

class ShowTransformer extends TransformerAbstract
{
    public function transform(MemberCardModel $memberCard) {
        return [
            'member_card_price'    => $memberCard->member_card_price,
            'card_name'    => $memberCard->card_name,
            'recharge_ticket_price'    => $memberCard->recharge_ticket_price,
            'cart_type'    => $memberCard->cart_type,
            'url'    => $memberCard->url,
        ];
    }

}